Skip to content

build(win): add ARM64 target alongside x64#30

Merged
oahsiao merged 1 commit into
mainfrom
chore/win-arm64-build
Jun 24, 2026
Merged

build(win): add ARM64 target alongside x64#30
oahsiao merged 1 commit into
mainfrom
chore/win-arm64-build

Conversation

@oahsiao

@oahsiao oahsiao commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Build Windows NSIS installers for both x64 and ARM64 (previously only the host arch, x64, was produced).

Changes

  • package.json
    • win.target now specifies arch: ["x64", "arm64"]
    • Added artifactName: "${productName}-${version}-${arch}.${ext}" so each architecture produces its own clearly-named installer
    • New scripts: dist (both), dist:x64, dist:arm64
  • README.md - updated EN + ZH "Build the installer" sections

Output

dist\M2_LOG-<version>-x64.exe
dist\M2_LOG-<version>-arm64.exe

Notes

  • ARM64 cross-compiles from an x64 machine; electron-builder downloads the matching ARM64 Electron binaries automatically.
  • npm test passes (4/4 static self-tests).

Build Windows NSIS installers for both x64 and ARM64. Adds per-arch artifactName so each architecture produces its own installer, plus dist:x64 / dist:arm64 convenience scripts. Updates README (EN + ZH) build sections.
@oahsiao oahsiao merged commit de16e39 into main Jun 24, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant